import config

class LoginWeb:
    def __init__(self):
        self.url = config.URL

    def loginWeb(self,session,param):
        params = {
            "param": param,
            "service_name": "kusercen.LoginFacade.login",
            "strategy": "dubbo",
            "client_id": "6",
            "timestamp": "1641374754755"
        }
        return session.post(self.url,json=params)